#pragma once

#include "../../MemoryManager/Singleton.h"
#include "../../ResourceManagement/ResourceMgr.h"
#include "MaterialResource.h"

#ifdef _DIRECTX
	//#include ""
	typedef int DXMateriaImpl;
#elif _OGL
	//#include ""
	//typedef int MeshResourceImpl;
#else
	#error No rendering api specified, add _DIRECTX or _OGL definition.
#endif

class MaterialMgr : public Singleton<MaterialMgr>, public ResourceMgr
{
public:
	MaterialMgr(unsigned numberOfResources): ResourceMgr(numberOfResources) {}
	~MaterialMgr() {}

	virtual RHANDLE Load(std::wstring identifier);
};

